package com.jrx.anytxn.param.mapper.base;

import com.jrx.anytxn.param.entity.RmAviatorExecResultLog;
import com.jrx.anytxn.param.entity.RmAviatorExecResultLogWithBLOBs;
/**
 * 规则匹配流水记录mapper接口
 * @author Sunset
 * @date 2019-08-27
 */
public interface RmAviatorExecResultLogMapper {
    /**
     * 根据主键删除 
     * @param id Long
     * @return int
     */
    int deleteByPrimaryKey(Long id);

    /**
     * 保存
     * @param record RmAviatorExecResultLogWithBLOBs
     * @return int
     */
    int insert(RmAviatorExecResultLogWithBLOBs record);

    /**
     * 根据字段是否为空保存 
     * @param record RmAviatorExecResultLogWithBLOBs
     * @return int
     */
    int insertSelective(RmAviatorExecResultLogWithBLOBs record);

    /**
     * 根据主键查询 
     * @param id Long
     * @return RmAviatorExecResultLogWithBLOBs
     */
    RmAviatorExecResultLogWithBLOBs selectByPrimaryKey(Long id);

    /**
     * 根据字段是否为空更新 
     * @param record RmAviatorExecResultLogWithBLOBs
     * @return int
     */
    int updateByPrimaryKeySelective(RmAviatorExecResultLogWithBLOBs record);

    /**
     * 根据主键更新所有字段
     * @param record RmAviatorExecResultLogWithBLOBs
     * @return int
     */
    int updateByPrimaryKeyWithBLOBs(RmAviatorExecResultLogWithBLOBs record);

    /**
     * 根据主键更新所有字段 
     * @param record RmAviatorExecResultLog
     * @return int
     */
    int updateByPrimaryKey(RmAviatorExecResultLog record);
}